package com.cgsrp.cgsrp_user_province.dao;

import com.cgsrp.cgsrp_user_province.domain.UserAddress;
import com.cgsrp.utils.Result;

import java.util.List;

public interface UserAddressMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserAddress record);

    int insertSelective(UserAddress record);

    UserAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserAddress record);

    int updateByPrimaryKey(UserAddress record);


    List<UserAddress> findByUserId(Integer userId);
}
